package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.cdc.sys.entity.CdcDataEntity;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 医嘱项
 * 
 * @ClassName: CdcOrdmastEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:07
 */
@TableName("t_cdc_ct_ordmast") 
public class CdcOrdmastEntity extends DataEntity<CdcOrdmastEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//索引码
	private String xcode;	
	//代码
	private String code;	
	//描述
	private String description;	
	//药品通用名
	private String drugCommonName;	
	//化学通用名
	private String chemCommonName;	
	//大类
	private Long busOrderCateId;
    @TableField(exist = false)
    private CdcDictionaryEntity busOrderCate;	
	//子类
	private Long busOrderSubcateId;	
    @TableField(exist = false)
    private CdcDictionaryEntity busOrderSubcate;	
	//类型
	private Long busOrderTypeId;	
    @TableField(exist = false)
    private CdcDictionaryEntity busOrderType;
	//业务数据类型
	private Long dataId;	
    @TableField(exist = false)
    private CdcDataEntity data;
	//是否有效
	private Integer isActive;	

	public CdcDictionaryEntity getBusOrderCate() {
        return busOrderCate;
    }
    public void setBusOrderCate(CdcDictionaryEntity busOrderCate) {
        this.busOrderCate = busOrderCate;
    }
    public CdcDictionaryEntity getBusOrderSubcate() {
        return busOrderSubcate;
    }
    public void setBusOrderSubcate(CdcDictionaryEntity busOrderSubcate) {
        this.busOrderSubcate = busOrderSubcate;
    }
    public CdcDictionaryEntity getBusOrderType() {
        return busOrderType;
    }
    public void setBusOrderType(CdcDictionaryEntity busOrderType) {
        this.busOrderType = busOrderType;
    }
    public CdcDataEntity getData() {
        return data;
    }
    public void setData(CdcDataEntity data) {
        this.data = data;
    }
    /**
	 * 设置：索引码
	 */
	public void setXcode(String xcode) {
		this.xcode = xcode;
	}
	/**
	 * 获取：索引码
	 */
	public String getXcode() {
		return xcode;
	}
	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：药品通用名
	 */
	public void setDrugCommonName(String drugCommonName) {
		this.drugCommonName = drugCommonName;
	}
	/**
	 * 获取：药品通用名
	 */
	public String getDrugCommonName() {
		return drugCommonName;
	}
	/**
	 * 设置：化学通用名
	 */
	public void setChemCommonName(String chemCommonName) {
		this.chemCommonName = chemCommonName;
	}
	/**
	 * 获取：化学通用名
	 */
	public String getChemCommonName() {
		return chemCommonName;
	}
	/**
	 * 设置：大类
	 */
	public void setBusOrderCateId(Long busOrderCateId) {
		this.busOrderCateId = busOrderCateId;
	}
	/**
	 * 获取：大类
	 */
	public Long getBusOrderCateId() {
		return busOrderCateId;
	}
	/**
	 * 设置：子类
	 */
	public void setBusOrderSubcateId(Long busOrderSubcateId) {
		this.busOrderSubcateId = busOrderSubcateId;
	}
	/**
	 * 获取：子类
	 */
	public Long getBusOrderSubcateId() {
		return busOrderSubcateId;
	}
	/**
	 * 设置：类型
	 */
	public void setBusOrderTypeId(Long busOrderTypeId) {
		this.busOrderTypeId = busOrderTypeId;
	}
	/**
	 * 获取：类型
	 */
	public Long getBusOrderTypeId() {
		return busOrderTypeId;
	}
	/**
	 * 设置：业务数据类型
	 */
	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}
	/**
	 * 获取：业务数据类型
	 */
	public Long getDataId() {
		return dataId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
